package com.nebula.salary.model.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;

/**
 * 用户登录DTO
 *
 * @author codex
 * @since 2022-02-02
 */
@Getter
@Setter
@ApiModel(value="LoginDto对象", description="用户登录DTO")
public class LoginDto implements Serializable {
    private static final long serialVersionUID = 8027001394072937639L;
    
    @ApiModelProperty(value = "用户名", position = 1)
    private String username;
    
    @ApiModelProperty(value = "用户密码", position = 2)
    private String password;
    
}
